Carbon


SetCursor

Header: Quickdraw.h Carbon status: Supported

Sets the current cursor.

void SetCursor (
    const Cursor *crsr
);
crsr

A Cursor structure for the cursor to be displayed.

DISCUSSION

If the cursor is hidden, it remains hidden and attains its new appearance only when it’s uncovered. If the cursor is already visible, it changes to the new appearance immediately.

You need to use the InitCursor function to initialize the standard arrow cursor and make it visible on the screen before you call SetCursor to change the cursor’s appearance.

To display a color cursor, use the SetCCursor function.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)